package com.xmut.service;

import com.xmut.pojo.User;
import com.xmut.pojo.Voluntary;

import java.util.List;

public interface UserService {
    Boolean rigister(User user);

    List<User> getAllUser();

    Boolean login(User user);

    User getUserByName(User user);

    User getVolunteerInfo(Integer id);

    void insVolunteerAddress(User user);

    void setVolunteer(Integer id);


}
